<?php

class foo
{
	function do_foo()
	{
		echo "doing foo.";
	}
}
/*
$bar = new foo;
$bar->do_foo();

$obj = (object)'hello';
echo $obj->scalar;

$c = mysql_connect();
echo get_resource_type($c);*/
/*
$fp = fopen("foo", "w");
echo get_resource_type($fp) . "\n";

$doc = new_xmldoc("1.0");
echo get_resource_type($doc->doc) . "\n";*/

error_reporting(E_ALL);

$foo = NULL;
var_dump(is_null($inexistent), is_null($foo));
?>
